import request from '@/utils/request'

// 查询理赔申请列表
export function listAppUserApply(query) {
  return request({
    url: '/system/appUserApply/list',
    method: 'get',
    params: query
  })
}

// 查询理赔申请详细
export function getAppUserApply(id) {
  return request({
    url: '/system/appUserApply/' + id,
    method: 'get'
  })
}

// 新增理赔申请
export function addAppUserApply(data) {
  return request({
    url: '/system/appUserApply',
    method: 'post',
    data: data
  })
}

// 修改理赔申请
export function updateAppUserApply(data) {
  return request({
    url: '/system/appUserApply',
    method: 'put',
    data: data
  })
}

// 删除理赔申请
export function delAppUserApply(id) {
  return request({
    url: '/system/appUserApply/' + id,
    method: 'delete'
  })
}
